package sanrenxing.Paper.domain;

import java.io.Serializable;

/**
 * 功能：
 * 编写者：阳赛
 * 日期：
 * 版本：1.0
 */
public class Subject implements Serializable {
    //试题编号
    private int subjectId;
    //试题类型
    private String subjectType;
    //科目
    private int courseId;
    //题干
    private String stem;
    //选项A
    private String optionA;
    //选项B
    private String optionB;
    //选项C
    private String optionC;
    //选项D
    private String optionD;
    //选项E
    private String optionE;
    //选项F
    private String optionF;
    //选项G
    private String optionG;
    //选项H
    private String optionH;
    //正确答案
    private String correct;
    //难度系数
    private int hard;

    /**
     * 默认构造方法
     */
    public Subject() {
    }

    /**
     * 带参构造方法
     * @param subjectId 试题编号
     * @param subjectType 试题类型
     * @param courseId 题目
     * @param stem 题干
     * @param optionA 选项A
     * @param optionB 选项B
     * @param optionC 选项C
     * @param optionD 选项D
     * @param optionE 选项E
     * @param optionF 选项F
     * @param optionG 选项G
     * @param optionH 选项H
     * @param correct 正确答案
     * @param hard 难度系数
     */
    public Subject(int subjectId, String subjectType, int courseId, String stem, String optionA, String optionB, String optionC, String optionD, String optionE, String optionF, String optionG, String optionH, String correct, int hard) {
        this.subjectId = subjectId;
        this.subjectType = subjectType;
        this.courseId = courseId;
        this.stem = stem;
        this.optionA = optionA;
        this.optionB = optionB;
        this.optionC = optionC;
        this.optionD = optionD;
        this.optionE = optionE;
        this.optionF = optionF;
        this.optionG = optionG;
        this.optionH = optionH;
        this.correct = correct;
        this.hard = hard;
    }

    //set/get方法
    public int getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(int subjectId) {
        this.subjectId = subjectId;
    }

    public String getSubjectType() {
        return subjectType;
    }

    public void setSubjectType(String subjectType) {
        this.subjectType = subjectType;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public String getStem() {
        return stem;
    }

    public void setStem(String stem) {
        this.stem = stem;
    }

    public String getOptionA() {
        return optionA;
    }

    public void setOptionA(String optionA) {
        this.optionA = optionA;
    }

    public String getOptionB() {
        return optionB;
    }

    public void setOptionB(String optionB) {
        this.optionB = optionB;
    }

    public String getOptionC() {
        return optionC;
    }

    public void setOptionC(String optionC) {
        this.optionC = optionC;
    }

    public String getOptionD() {
        return optionD;
    }

    public void setOptionD(String optionD) {
        this.optionD = optionD;
    }

    public String getOptionE() {
        return optionE;
    }

    public void setOptionE(String optionE) {
        this.optionE = optionE;
    }

    public String getOptionF() {
        return optionF;
    }

    public void setOptionF(String optionF) {
        this.optionF = optionF;
    }

    public String getOptionG() {
        return optionG;
    }

    public void setOptionG(String optionG) {
        this.optionG = optionG;
    }

    public String getOptionH() {
        return optionH;
    }

    public void setOptionH(String optionH) {
        this.optionH = optionH;
    }

    public String getCorrect() {
        return correct;
    }

    public void setCorrect(String correct) {
        this.correct = correct;
    }

    public int getHard() {
        return hard;
    }

    public void setHard(int hard) {
        this.hard = hard;
    }
}
